<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  

  
  <title>个人博客</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta property="og:type" content="website">
<meta property="og:title" content="个人博客">
<meta property="og:url" content="http://codercheng.cn/index.html">
<meta property="og:site_name" content="个人博客">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="CoderCheng">
<meta name="twitter:card" content="summary">
  
    <link rel="alternate" href="/atom.xml" title="个人博客" type="application/atom+xml">
  
  
    <link rel="icon" href="/favicon.png">
  
  
    <link href="//fonts.lug.ustc.edu.cn/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  
  
<link rel="stylesheet" href="/css/style.css">

<meta name="generator" content="Hexo 4.2.1"></head>

<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">个人博客</a>
      </h1>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/">Home</a>
        
          <a class="main-nav-link" href="/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="搜索"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="http://codercheng.cn"></form>
      </div>
    </div>
  </div>
</header>
      <div class="outer">
        <section id="main">
  
    <article id="post-CentOS内存cpu排查" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2024/08/28/CentOS%E5%86%85%E5%AD%98cpu%E6%8E%92%E6%9F%A5/" class="article-date">
  <time datetime="2024-08-28T03:55:04.055Z" itemprop="datePublished">2024-08-28</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2024/08/28/CentOS%E5%86%85%E5%AD%98cpu%E6%8E%92%E6%9F%A5/">CentOS内存cpu排查</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h1 id="CentOS"><a href="#CentOS" class="headerlink" title="CentOS"></a>CentOS</h1><p>查看内存使用率排行</p>
<p>top -o %MEM</p>
<p>查看cpu使用率排行</p>
<p>top -o %CPU </p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://codercheng.cn/2024/08/28/CentOS%E5%86%85%E5%AD%98cpu%E6%8E%92%E6%9F%A5/" data-id="cm0dbp83v0000scuo9pppg4sa" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-Linux 查看日志命令" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2022/09/22/Linux%20%E6%9F%A5%E7%9C%8B%E6%97%A5%E5%BF%97%E5%91%BD%E4%BB%A4/" class="article-date">
  <time datetime="2022-09-22T10:05:04.609Z" itemprop="datePublished">2022-09-22</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2022/09/22/Linux%20%E6%9F%A5%E7%9C%8B%E6%97%A5%E5%BF%97%E5%91%BD%E4%BB%A4/">Linux 查看日志命令</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h1 id="Linux-查看日志命令"><a href="#Linux-查看日志命令" class="headerlink" title="Linux 查看日志命令"></a>Linux 查看日志命令</h1><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br></pre></td><td class="code"><pre><span class="line">view  xxx.log    查看</span><br><span class="line"> Ctrl+B          上一页  </span><br><span class="line"> Ctrl+F          下一页</span><br><span class="line"> G               定位到当前页最新一行</span><br><span class="line"> g               定位到当前页首页一行</span><br><span class="line"> 可按 shift键  或者 CapsLock 切换一下  G g  命令</span><br><span class="line"> </span><br><span class="line"> /xxx            向下搜索关键</span><br><span class="line"> ?xxx           向上搜索关键字</span><br><span class="line"> n              查找下个关键字</span><br><span class="line"> N              向上查找关键字</span><br><span class="line"> 实时日志  tail -f  xxx.log</span><br><span class="line"> 查找关键字  less xxx.log</span><br><span class="line"> </span><br><span class="line"> 在搜搜关键字所在日志文件时</span><br><span class="line"> grep  关键字  /path/*.log</span><br></pre></td></tr></table></figure>


<h1 id="常用保存命令"><a href="#常用保存命令" class="headerlink" title="常用保存命令"></a>常用保存命令</h1><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">:w  保存文件但不退出vi</span><br><span class="line">:w file 将修改另外保存到file中，不退出vi</span><br><span class="line">:w! 强制保存，不推出vi</span><br><span class="line">:wq 保存文件并退出vi</span><br><span class="line">:wq! 强制保存文件，并退出vi</span><br><span class="line">q: 不保存文件，退出vi</span><br><span class="line">:q! 不保存文件，强制退出vi</span><br><span class="line">:e! 放弃所有修改，从上次保存文件开始再编辑</span><br></pre></td></tr></table></figure>

<h1 id="tail命令"><a href="#tail命令" class="headerlink" title="tail命令"></a>tail命令</h1><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"></span><br><span class="line">tail -f  xxx.log    --- 实时查看xxx.log的日志</span><br><span class="line"></span><br><span class="line">tail -n 100 xxx.log   -----输出xxx.log 最新的100行</span><br></pre></td></tr></table></figure>

<h1 id="sed-命令"><a href="#sed-命令" class="headerlink" title="sed 命令"></a>sed 命令</h1><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line"> 输出某一段时间内的日志 </span><br><span class="line">  sed -n '/2021-10-18 08:00/,/2021-10-18 08:00/p' xxx/log   </span><br><span class="line"></span><br><span class="line">输出 某一段时间包含'xiaohu'的行数</span><br><span class="line">  sed -n '/2021-10-18 08:00/,/2021-10-18 19:00/p' xxx.log |grep -c "xiaohu"</span><br><span class="line">  </span><br><span class="line">将某一段时间的日志保存到一个新文件中</span><br><span class="line">  sed -n '/2021-10-18 08:00/,//p' xxx.log &gt; newlog.log</span><br></pre></td></tr></table></figure>

<h1 id="追加"><a href="#追加" class="headerlink" title="追加"></a>追加</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">追加是 &gt;&gt; ，如果用 &gt; 是覆盖</span><br></pre></td></tr></table></figure>




      
    </div>
    <footer class="article-footer">
      <a data-url="http://codercheng.cn/2022/09/22/Linux%20%E6%9F%A5%E7%9C%8B%E6%97%A5%E5%BF%97%E5%91%BD%E4%BB%A4/" data-id="cl8cwdtnd0002r0uo3fbuap1h" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-dubbo 常见问题" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2022/08/30/dubbo%20%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98/" class="article-date">
  <time datetime="2022-08-30T09:50:14.486Z" itemprop="datePublished">2022-08-30</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2022/08/30/dubbo%20%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98/">dubbo 常见问题</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>dubbo 常见问题</p>
<ul>
<li><p>案例1  消费者 多次调用 产生不同的结果</p>
<p>   可能原因</p>
<p>​       1 . 多个不用Ip的生产者  生产者之前的版本不一致 。</p>
<p>  确认方案</p>
<p>​       到Zookeeper可视化界面确认生产者 。</p>
<p>  解决方案 ：统一版本 。</p>
</li>
</ul>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://codercheng.cn/2022/08/30/dubbo%20%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98/" data-id="cl8cwdtnb0001r0uo9hkqg2mp" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-1 源码笔记" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2022/04/26/1%20%E6%BA%90%E7%A0%81%E7%AC%94%E8%AE%B0/" class="article-date">
  <time datetime="2022-04-26T10:09:01.744Z" itemprop="datePublished">2022-04-26</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2022/04/26/1%20%E6%BA%90%E7%A0%81%E7%AC%94%E8%AE%B0/">1 源码笔记</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>  1 如何计算一个整数的位数</p>
<p>   答： 参考:Integer.stringSize()</p>
<p>​      使用一个9 ,99 999 的数组</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://codercheng.cn/2022/04/26/1%20%E6%BA%90%E7%A0%81%E7%AC%94%E8%AE%B0/" data-id="cl8cwdtmy0000r0uo9ydsagpb" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-jvisualVM 使用笔记" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2022/02/24/jvisualVM%20%E4%BD%BF%E7%94%A8%E7%AC%94%E8%AE%B0/" class="article-date">
  <time datetime="2022-02-24T09:36:09.801Z" itemprop="datePublished">2022-02-24</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2022/02/24/jvisualVM%20%E4%BD%BF%E7%94%A8%E7%AC%94%E8%AE%B0/">jvisualVM 使用笔记</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <ul>
<li><p>远程连接 注意  开放端口 和随机的两个端口</p>
</li>
<li><p>查看cpu和内存分析   </p>
<p>如果是cpu  查看是否是有点代码  代码是否有while(true)</p>
</li>
<li><p>如果是内存   查看是否大对象</p>
</li>
</ul>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://codercheng.cn/2022/02/24/jvisualVM%20%E4%BD%BF%E7%94%A8%E7%AC%94%E8%AE%B0/" data-id="cl8cwdtnk0003r0uogb44bu67" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-Java泛型理解" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2021/11/03/Java%E6%B3%9B%E5%9E%8B%E7%90%86%E8%A7%A3/" class="article-date">
  <time datetime="2021-11-03T02:52:21.627Z" itemprop="datePublished">2021-11-03</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2021/11/03/Java%E6%B3%9B%E5%9E%8B%E7%90%86%E8%A7%A3/">Java泛型理解</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <pre><code>Java 泛型理解</code></pre><p> &lt;? extends T&gt;  表示   限定为 T类 及其子类</p>
<p>​       有上限 为类    不能添加元素  （无法确定是哪个子类）能获取元素  </p>
<p>&lt;? super  T&gt; 表示 限定为 T类 及其父类</p>
<p>区别  有下限    为 T类   不能获取元素（无法确定哪个父类）</p>
<p>可以添加元素  因为&lt;? super T&gt;是T的某个父类,将子类T赋值给父类没任何问题</p>
<p>PECS ( Producer  Extends Consumer  Super )原则  </p>
<ul>
<li>频繁往外读取内容的，适用于上界 Extends;</li>
<li>经常往里插入的，适用于下界 Super。</li>
</ul>
<p>参考博客   </p>
<p><a href="https://blog.csdn.net/qq_40074764/article/details/81514229" target="_blank" rel="noopener">https://blog.csdn.net/qq_40074764/article/details/81514229</a></p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://codercheng.cn/2021/11/03/Java%E6%B3%9B%E5%9E%8B%E7%90%86%E8%A7%A3/" data-id="ckvixoqun0000e4uoa8vm73yl" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-mvcc" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2021/06/16/mvcc/" class="article-date">
  <time datetime="2021-06-16T03:33:55.644Z" itemprop="datePublished">2021-06-16</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2021/06/16/mvcc/">mvcc</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>MVCC 全称Multi-Version Concurrency Control  即 多版本并发控制。 MVCC 是一种并发控制的方法，一般在数据库管理系统中，实现对数据库的并发访问，在编程语言中实现事务内存。<br>MVCC 在MySQL InnoDB中的实现主要是为了提高数据库并发性能，用更好的方式处理读-写 冲突 ，做到即使有读写冲突是，也能做到不加锁，非阻塞并发读。</p>
<p>快照读就是读取数据的时候会根据一定的规则读取事务可见版本的数据。<br>当前读 就是读取最新版本的数据 读取时还要保证其他并发事务不能修改当前记录，会对读取的记录进行加锁。</p>
<p>sellect *from ..where  语句为快照读。、、、</p>
<p>select *from …where …for update<br>select *from …where … in share mode<br>当前读。</p>
<p>如果事务中使用快照读，那么不会产生幻读现象，但是快照读和当前读混用就会产生幻读。</p>
<p>参考链接 </p>
<p><a href="https://www.jianshu.com/p/8845ddca3b23" target="_blank" rel="noopener">https://www.jianshu.com/p/8845ddca3b23</a></p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://codercheng.cn/2021/06/16/mvcc/" data-id="ckpyxak9o0000couof6p77rm7" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-事务失效场景" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2021/05/20/%E4%BA%8B%E5%8A%A1%E5%A4%B1%E6%95%88%E5%9C%BA%E6%99%AF/" class="article-date">
  <time datetime="2021-05-20T03:37:26.000Z" itemprop="datePublished">2021-05-20</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2021/05/20/%E4%BA%8B%E5%8A%A1%E5%A4%B1%E6%95%88%E5%9C%BA%E6%99%AF/">事务失效场景</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>​                                   事务失效场景</p>
<ol>
<li><p><strong>一个有@Transactional的方法被没有@Transactional方法调用时，会导致Transactional作用失效。也是最容易出现的情况。</strong></p>
<p>​     那为啥会出现这种情况？其实这还是由于使用<code>Spring AOP</code>代理造成的，因为只有当事务方法被当前类以外的代码调用时，才会由<code>Spring</code>生成的代理对象管理</p>
</li>
<li><p><strong>对非public方法进行事务注解。@Transactional 将会失效</strong></p>
</li>
</ol>
<p>原因：是应为在Spring AOP代理时，事务拦截器在目标方法前后进行拦截，<code>DynamicAdvisedInterceptor</code>的intercept 方法会获取Transactional注解的事务配置信息，</p>
<p>因为在Spring AOP 代理时，如上图所示 <code>TransactionInterceptor</code> （事务拦截器）在目标方法执行前后进行拦截，<code>DynamicAdvisedInterceptor</code>（CglibAopProxy 的内部类）的 intercept 方法或 <code>JdkDynamicAopProxy</code> 的 invoke 方法会间接调用 <code>AbstractFallbackTransactionAttributeSource</code>的 <code>computeTransactionAttribute</code> 方法会间接调用 <code>AbstractFallbackTransactionAttributeSource</code>的 <code>computeTransactionAttribute</code> 方法，这个方法会获取Transactional 注解的事务配置信息。他会首先校验事务方法的修饰符是不是public，不是 public则不会获取@Transactional 的属性配置信息。</p>
<ol start="3">
<li><strong>Transactional 事务配置属性中的propagation 属性配置的问题。</strong></li>
</ol>
<p>　当propagation属性配置为：</p>
<p><code>TransactionDefinition.PROPAGATION_SUPPORTS</code>：如果当前存在事务，则加入该事务；如果当前没有事务，则以非事务的方式继续运行。 　　　　　　<code>TransactionDefinition.PROPAGATION_NOT_SUPPORTED</code>：以非事务方式运行，如果当前存在事务，则把当前事务挂起。<code>TransactionDefinition.PROPAGATION_NEVER</code>：以非事务方式运行，如果当前存在事务，则抛出异常</p>
<ol start="4">
<li><strong>还存在一种情况</strong>：</li>
</ol>
<p>　　在一个类中A方法被事务注释，B方法也被事务注释。</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">@Transactional</span></span><br><span class="line">　<span class="function"><span class="keyword">public</span> <span class="keyword">void</span> <span class="title">A</span><span class="params">()</span></span>&#123;</span><br><span class="line">　　<span class="keyword">try</span>&#123;</span><br><span class="line">　　<span class="keyword">this</span>.B();</span><br><span class="line">　　&#125;<span class="keyword">catch</span>(Exception e)&#123;</span><br><span class="line">　　　　logger.error();</span><br><span class="line">　　&#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

<p>但在执行B方法是报错，但是异常被A catch 住，此时事务也会失效。</p>
<p> <strong>底层原理</strong>：</p>
<p>其实原因很简单，Spring在扫描Bean的时候会自动为标注了<code>@Transactional</code>注解的类生成一个代理类（proxy）,当有注解的方法被调用的时候，实际上是代理类调用的，代理类在调用之前会开启事务，执行事务的操作，但是同类中的方法互相调用，相当于<code>this.B()</code>，此时的B方法并非是代理类调用，而是直接通过原有的Bean直接调用，所以注解会失效。</p>
<p><strong>spring事务的传播机制及原因分析</strong>;</p>
<p>   propagation_required  支持当前事务，如果当前没有事务，就新建一个事务。这是最常见的选择。</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://codercheng.cn/2021/05/20/%E4%BA%8B%E5%8A%A1%E5%A4%B1%E6%95%88%E5%9C%BA%E6%99%AF/" data-id="ckowd813n00005wuo9tvh7o03" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-@override有什么用，以及加不加@override有什么区别" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2021/05/19/@override%E6%9C%89%E4%BB%80%E4%B9%88%E7%94%A8%EF%BC%8C%E4%BB%A5%E5%8F%8A%E5%8A%A0%E4%B8%8D%E5%8A%A0@override%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB/" class="article-date">
  <time datetime="2021-05-19T10:10:58.585Z" itemprop="datePublished">2021-05-19</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2021/05/19/@override%E6%9C%89%E4%BB%80%E4%B9%88%E7%94%A8%EF%BC%8C%E4%BB%A5%E5%8F%8A%E5%8A%A0%E4%B8%8D%E5%8A%A0@override%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB/">@override有什么用，以及加不加@override有什么区别</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h1 id="override有什么用，以及加不加-override有什么区别"><a href="#override有什么用，以及加不加-override有什么区别" class="headerlink" title="@override有什么用，以及加不加@override有什么区别"></a>@override有什么用，以及加不加@override有什么区别</h1><p>1.简单来说@override注解是告诉编译器，下面的方法是重写父类的方法</p>
<p>2.如果不写@override注解去直接重写方法，编译器是不会判断你是不是正确重写了父类中的方法的。如重写方法时参数与父类不同，程序是不会提示报错的。这会留下一个潜在的bug。当你写了@override注解时，程序会判断你是否正确的重写了父类的对应方法。而且加上此注解后，程序会<strong><em>自动屏蔽父类的方法</em></strong>。</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://codercheng.cn/2021/05/19/@override%E6%9C%89%E4%BB%80%E4%B9%88%E7%94%A8%EF%BC%8C%E4%BB%A5%E5%8F%8A%E5%8A%A0%E4%B8%8D%E5%8A%A0@override%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB/" data-id="ckovb20tv0000yguo188mbby8" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-11 -02 微服务 部署spring Cloud" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2021/05/08/11%20-02%20%E5%BE%AE%E6%9C%8D%E5%8A%A1%20%E9%83%A8%E7%BD%B2spring%20Cloud/" class="article-date">
  <time datetime="2021-05-08T11:05:03.119Z" itemprop="datePublished">2021-05-08</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2021/05/08/11%20-02%20%E5%BE%AE%E6%9C%8D%E5%8A%A1%20%E9%83%A8%E7%BD%B2spring%20Cloud/">11 -02 微服务 部署spring Cloud</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p> 11 -02 微服务 部署spring Cloud </p>
<p>技术点</p>
<p>1 docker 部署</p>
<p>2 SkyWalking 监控</p>
<p>视频地址</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">链接：https:&#x2F;&#x2F;pan.baidu.com&#x2F;s&#x2F;14dEB1vXmA099-SGo_Er26g</span><br><span class="line">提取码：1111</span><br></pre></td></tr></table></figure>




      
    </div>
    <footer class="article-footer">
      <a data-url="http://codercheng.cn/2021/05/08/11%20-02%20%E5%BE%AE%E6%9C%8D%E5%8A%A1%20%E9%83%A8%E7%BD%B2spring%20Cloud/" data-id="ckofn5bfw0000louo46cja685" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  


  <nav id="page-nav">
    
    <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><span class="space">&hellip;</span><a class="page-number" href="/page/6/">6</a><a class="extend next" rel="next" href="/page/2/">下一页 &amp;raquo;</a>
  </nav>

</section>
        
          <aside id="sidebar">
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">分类</h3>
    <div class="widget">
      <ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/Java/">Java</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/MySql/">MySql</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/Netty/">Netty</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/SpringBoot/">SpringBoot</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/SpringCloud/">SpringCloud</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/SpringMVC/">SpringMVC</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/Tomcat/">Tomcat</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/Zookeeper/">Zookeeper</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E4%BD%9C%E4%B8%9A/">作业</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%88%86%E5%B8%83%E5%BC%8F%E8%B0%83%E5%BA%A6/">分布式调度</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E6%A1%86%E6%9E%B6/">框架</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E7%9F%A5%E8%AF%86/">知识</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/">设计模式</a></li></ul>
    </div>
  </div>


  
    

  
    
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">归档</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2024/08/">八月 2024</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/09/">九月 2022</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/08/">八月 2022</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/04/">四月 2022</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/02/">二月 2022</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/11/">十一月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/06/">六月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/05/">五月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/04/">四月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/03/">三月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/02/">二月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/01/">一月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/12/">十二月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/11/">十一月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/10/">十月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/09/">九月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/08/">八月 2020</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">最新文章</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2024/08/28/CentOS%E5%86%85%E5%AD%98cpu%E6%8E%92%E6%9F%A5/">CentOS内存cpu排查</a>
          </li>
        
          <li>
            <a href="/2022/09/22/Linux%20%E6%9F%A5%E7%9C%8B%E6%97%A5%E5%BF%97%E5%91%BD%E4%BB%A4/">Linux 查看日志命令</a>
          </li>
        
          <li>
            <a href="/2022/08/30/dubbo%20%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98/">dubbo 常见问题</a>
          </li>
        
          <li>
            <a href="/2022/04/26/1%20%E6%BA%90%E7%A0%81%E7%AC%94%E8%AE%B0/">1 源码笔记</a>
          </li>
        
          <li>
            <a href="/2022/02/24/jvisualVM%20%E4%BD%BF%E7%94%A8%E7%AC%94%E8%AE%B0/">jvisualVM 使用笔记</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      &copy; 2024 CoderCheng<br>
      Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
      <a href="https://beian.miit.gov.cn/" target="_blank">晋ICP备17001011号-2</a>
    </div>
  </div>
</footer>
    </div>
    <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
</nav>
    

<script src="//code.jquery.com/jquery-2.0.3.min.js"></script>


  
<link rel="stylesheet" href="/fancybox/jquery.fancybox.css">

  
<script src="/fancybox/jquery.fancybox.pack.js"></script>




<script src="/js/script.js"></script>




  </div>
</body>
</html>